import 'package:gold/generated/json/base/json_field.dart';
import 'package:gold/generated/json/gold_recover_result_model.g.dart';
import 'dart:convert';
export 'package:gold/generated/json/gold_recover_result_model.g.dart';

@JsonSerializable()
class GoldRecoverResultModel {
	String? method;
	int? type;
	int? weight;
	double? price;
	@JSONField(name: 'shop_id')
	int? shopId;
	@JSONField(name: 'arrive_time')
	String? arriveTime;
	@JSONField(name: 'user_id')
	int? userId;
	@JSONField(name: 'total_price')
	double? totalPrice;
	@JSONField(name: 'updated_at')
	String? updatedAt;
	@JSONField(name: 'created_at')
	String? createdAt;
	int? id;

	GoldRecoverResultModel();

	factory GoldRecoverResultModel.fromJson(Map<String, dynamic> json) => $GoldRecoverResultModelFromJson(json);

	Map<String, dynamic> toJson() => $GoldRecoverResultModelToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}